.header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
}

.header-nav {
  top: -50px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  width: 95%;
  height: 40px;
  background-color: #ffffff50;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  /* 增加阴影效果 */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: 1s;
}

.header-nav.fixed {
  position: fixed;
  top: 0;
  margin: 0;
  width: 100%;
  border-radius: 0;
  backdrop-filter: blur(50px);
  z-index: 10;
}

.header-nav .title {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 135px;
  min-width: 135px;
  height: 100%;
}

.header-nav .title .logo {
  display: inline-block;
  height: 80%;
}

.header-nav .title .logo img {
  width: 100%;
  height: 100%;
}

.header-nav .title .name {
  display: inline-block;
  color: #fff;
}

.header-nav .title .name h2 {
  font-size: 16px;
  font-family: 'youyuan';
}

.header-nav .title .name p {
  font-size: 10px;
  font-family: 'simhei';
  letter-spacing: 2px;
}

.header-nav .nav {
  margin: 0 50px;
}

.header-nav .nav a {
  margin: 0 10px;
  color: #fff;
  font-size: 14px;
  font-family: 'Quicksand', sans-serif;
  transition: .2s;
}

.header-nav .nav a:hover {
  color: #f30ba4;
  font-weight: bold;
}


@media (max-width: 600px) {
  .header-nav .title {
    margin: 0 auto;
  }

  .header-nav .nav {
    display: none;
  }
}